Page({
  data: {
    userInfo: {
      avatar: '/images/avatar.png',
      nickname: '听书达人',
      level: 'VIP7',
      listenMinutes: 2560
    },
    stats: [
      { icon: 'like', count: 238, label: '喜欢' },
      { icon: 'history', count: 562, label: '历史' },
      { icon: 'download', count: 89, label: '下载' }
    ],
    features: [
      { icon: 'vip', title: '会员中心', type: 'vip' },
      { icon: 'theme', title: '主题换肤', type: 'theme' },
      { icon: 'notification', title: '消息通知', type: 'notification' }
    ],
    recentList: [
      { cover: '/images/covers/book1.jpg', title: '百年孤独', progress: 65 },
      { cover: '/images/covers/book2.jpg', title: '三体全集', progress: 42 }
    ]
  },

  handleLogin() {
    wx.navigateTo({ url: '/pages/login/login' })
  },

  navigateToFeature(e) {
    const type = e.currentTarget.dataset.type
    // 根据类型跳转不同页面
  }
})